package com.medical.manage.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @BelongsProject: medical
 * @BelongsPackage: com.medical.manage.domain.vo
 * @Author: szw
 * @CreateTime: 2025-03-17  20:05
 * @Description: TODO
 * @Version: 1.0
 */

@Data
public class OrderVo {
    //订单id
    private Integer id;
    //患者id
    private Long userId;
    //医生id
    private Long doctorId;
    //咨询费用
    private BigDecimal consultationFees;
    //疾病名称
    private String diseaseName;
    //疾病时长
    private String durationIllness;
    //病情描述
    private String diseaseDescribe;
    //订单编号
    private String orderNumber;
    //支付编号
    private String paymentNumber;
    //订单状态（0未支付1已支付2已取消）
    private Integer state;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //修改人
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatePerson;

    //图片
    private String doctorImgUrl;
    //医生姓名
    private String doctorName;
    //医院职称
    private String physician;
    //所属医院
    private Integer hospitalId;
    //好评率
    private String positiveRating;
    //服务患者数
    private Integer servingPatientsNum;
    //擅长领域
    private String expertiseArea;
    //个人简介
    private String profile;
    //职业经历
    private String professionalExperience;

    //医院名称
    private String hospitalName;


}
